﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" Async="true" AutoEventWireup="true"
    CodeFile="PasswordRecovery.aspx.cs" Inherits="User_PasswordRecovery" Title="Password" %>

<asp:Content ID="Content2" ContentPlaceHolderID="cpHeader" runat="Server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="cpBody" runat="Server">
    <%--<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>--%>
    <div id="container">
        <div class="body">
            <div class="top">
            </div>
            <div class="body">
                <div class="padding_lr15px">
                    <!-- Column Content | Start -->
                    <div class="col_content">
                        <div class="top">
                        </div>
                        <div class="body">
                            <div class="padding_lr30px">
                                <h1>
                                    <%=GetGlobalResourceObject ("Menu","PasswordRecovery") %>:</h1>
                                <div class="seperator_15px">
                                </div>
                                <div id="CarForm">
                                    <div>
                                        <asp:Label Width="600px" ID="lblPasswordLine" runat="server" Text="<%$ Resources:Menu,PasswordRecoveryLine%>" />
                                    </div>
                                    <div class="seperator_15px">
                                    </div>
                                    <div>
                                        <asp:Label ID="lblMessage" ForeColor="Red" runat="server"></asp:Label>
                                        <asp:ValidationSummary ID="ValidationSummary1" CssClass="errorSummary" HeaderText="<%$ Resources:Menu,RequiredField%>"
                                            runat="server" ValidationGroup="customer" />
                                    </div>
                                    <div class="seperator_15px">
                                    </div>
                                    <!-- Form | Start   -->
                                    <asp:Panel runat="server" ID="pnlPasswordRecovery" DefaultButton="btnSubmit">
                                        <%--<div>
                                            <div class="form_col_1 comp left">
                                                Garage Type</div>
                                            <div class="form_col_2 left">
                                                <select name="select">
                                                    <option>Select ...</option>
                                                </select>
                                            </div>
                                            <div class="left">
                                                <img src="images/icon/help.png" width="20" height="20" alt="Help" /></div>
                                        </div>
                                        <div class="seperator_form">
                                        </div>--%>
                                        <div>
                                            <div class="form_col_1 comp left">
                                                <%=GetGlobalResourceObject ("Menu","EnterEmail") %></div>
                                            <div class="form_col_2 left">
                                                <asp:TextBox ID="txtEmail" runat="server" MaxLength="250" Width="200px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail"
                                                    Display="Dynamic" ErrorMessage="" Text="" ValidationGroup="customer" CssClass="validationErrorControl">
                                                </asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="rfvEmailValid" runat="server" ControlToValidate="txtEmail"
                                                    Display="Dynamic" ErrorMessage="" CssClass="validationErrorControl" Text=""
                                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="customer"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div class="seperator_form">
                                        </div>
                                        <div>
                                            <div class="form_col_1 left">
                                                <%=GetGlobalResourceObject("Menu", "SecurityCheck")%></div>
                                            <div class="form_col_2 left">
                                                <asp:UpdatePanel runat="server" ID="uplCAPCHA">
                                                    <ContentTemplate>
                                                        <div style="display: block; float: left;">
                                                            <asp:Image ID="imgCAPTCHA" runat="server" AlternateText="captcha" />
                                                        </div>
                                                        <asp:ImageButton ID="btnNewImage" runat="server" OnClick="btnNewImage_Click" ImageUrl="/images/icon/refresh.gif"
                                                            ToolTip="Reload" AlternateText="Refresh" />
                                                        <%--<asp:Label ID="Label1" Text="" runat="server"></asp:Label>--%>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                                <asp:UpdateProgress AssociatedUpdatePanelID="uplCAPCHA" DisplayAfter="100" runat="server"
                                                    ID="udpCAPTCHA">
                                                    <ProgressTemplate>
                                                        <asp:Image ID="imgLoading" ImageUrl="/images/loading7.gif" runat="server" AlternateText="loading" />
                                                    </ProgressTemplate>
                                                </asp:UpdateProgress>
                                            </div>
                                        </div>
                                        <div class="seperator_form">
                                        </div>
                                        <div>
                                            <div class="form_col_1 comp left">
                                                <%=GetGlobalResourceObject("Menu", "TextinBox")%></div>
                                            <div class="form_col_2 left">
                                                <asp:UpdatePanel ID="uplSecurityCode" runat="server">
                                                    <ContentTemplate>
                                                        <span class="indicator">
                                                            <asp:TextBox ID="txtSecurityCode" Width="200px" MaxLength="20" runat="server"></asp:TextBox>
                                                        </span><span class="indicator">
                                                            <asp:RequiredFieldValidator ID="rfvSecurityCheck" runat="server" ControlToValidate="txtSecurityCode"
                                                                Display="Dynamic" ErrorMessage="" CssClass="validationErrorControl" Text=""
                                                                ValidationGroup="customer"></asp:RequiredFieldValidator>
                                                        </span>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                        <div class="seperator_form">
                                        </div>
                                        <div class="seperator_15px">
                                        </div>
                                        <div>
                                            <div class="form_col_1 left">
                                                &nbsp;
                                            </div>
                                            <div class="form_col_2 left">
                                                <asp:Button ID="btnSubmit" onmousedown="this.className = 'button_recoverpassword_mousedown';"
                                                    onmouseup="this.className = 'button_recoverpassword';" onmouseout="this.className = 'button_recoverpassword';"
                                                    CssClass="button_recoverpassword" runat="server" OnClientClick="LoadValidationErrorCss();if (Page_ClientValidate('customer')){this.removeAttribute('onmouseout');this.removeAttribute('onmouseup');this.className = 'button_w_processing';}"
                                                    OnClick="btnSubmit_Click" ValidationGroup="customer" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <!-- Form | End   -->
                                </div>
                            </div>
                        </div>
                        <div class="bottom">
                        </div>
                    </div>
                    <!-- Column Content | End   -->
                    <!-- Column Right | Start -->
                    <div>
                        <div class="col_right-white">
                            <div class="top">
                            </div>
                            <div class="body text_center">
                                <%--<img src="/images/public/logo/msig.png" width="165" height="70" alt="MSIG" />--%>
                                <div class="tip">
                                    <asp:Image ID="Image1" runat="server" ImageUrl="<%$Resources:ImageResource,OfferBannerUrl1%>"
                                        Width="234" Height="188" AlternateText="Payment" />
                                </div>
                            </div>
                            <div class="bottom">
                            </div>
                        </div>
                        <div class="seperator_15px">
                        </div>
                        <div class="seperator_15px">
                        </div>
                    </div>
                    <!-- Column Right | End   -->
                </div>
            </div>
            <div class="bottom">
            </div>
        </div>
    </div>
</asp:Content>
